public class Test {
    
    public static void main(String[] args) {
        double money=0;//小芳存的钱
        int time=0;//经过了多少天
        while(money<=100){
        money+=2.5;
        time++;
        if(time%5==0) money-=6;
        }
        System.out.println("天数："+time);
     }
}

